package pl.edu.agh.iosr.gamblingzone.dao;

import java.util.Collection;

import pl.edu.agh.iosr.gamblingzone.model.MoneyVoucherRequest;
import pl.edu.agh.iosr.gamblingzone.model.User;

/**
 * The Interface MoneyVoucherRequestDAO.
 */
public interface MoneyVoucherRequestDAO extends GenericDAO<MoneyVoucherRequest, Long> {
	
	/**
	 * Find all.
	 * 
	 * @param user the user
	 * @param page the page
	 * 
	 * @return the collection< money voucher>
	 */
	Collection<MoneyVoucherRequest> findAll(User user, int page);
	
	/**
	 * Gets the entities count for given user.
	 * 
	 * @param u the u
	 * 
	 * @return the entities count
	 */
	int getEntitiesCount(User u);
}
